package org.hackystat.ui.projectviewer.gwt.client.common.types;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * Envelope for project development summary.
 * 
 * @author Pavel Senin.
 * 
 */
public class ProjectDevSummary implements IsSerializable {

  private String[] caps;
  private Float[] values;

  /**
   * Sets the data.
   * 
   * @param caps The chart captions.
   * @param vals The chart values.
   */
  public void setData(String[] caps, Float[] vals) {
    this.caps = caps;
    this.values = vals;
  }

  /**
   * Gets the data.
   * 
   * @return The stored data captions.
   */
  public String[] getCaps() {
    return this.caps;
  }

  /**
   * Gets the data.
   * 
   * @return The stored data captions.
   */
  public Float[] getValues() {
    return this.values;
  }

}
